package com.sixbro.shiro.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sixbro.shiro.domain.vo.request.PageRequestVO;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 数据字典详情
 * </p>
 *
 * @Author: Mr.Lu
 * @Since: 2020/6/19 12:23
 */
@Data
@TableName("sys_dict_detail")
public class SysDictDetail extends PageRequestVO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId("id")
    private String id;

    /**
     * 字典标签
     */
    @TableField("label")
    private String label;

    /**
     * 字典值
     */
    @TableField("value")
    private String value;

    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;

    /**
     * 字典id
     */
    @TableField("dict_id")
    private String dictId;

    /**
     * 创建日期
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 字典name
     */
    @TableField(exist = false)
    private String dictName;
}
